home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 15744 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  910 b 

  1. Path: mail2news.demon.co.uk!lorelei.demon.co.uk
  2. From: John Croudy <john@lorelei.demon.co.uk>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: C++ complex numbers slow as molasses?
  5. Date: Sun, 7 Apr 96 18:51:47 GMT
  6. Organization: home
  7. Message-ID: <9604071851.AA001o1@lorelei.demon.co.uk>
  8. References: <4k6k8c$8h4@nyx.cs.du.edu>
  9. X-NNTP-Posting-Host: lorelei.demon.co.uk
  10. X-Newsreader: TIN [AMIGA 1.3 950726BETA PL0]
  11. X-Mail2News-Path: relay-4.mail.demon.net!post.demon.co.uk!lorelei.demon.co.uk
  12.  
  13. On 6 Apr 1996 13:30:04 -0700, A. N. Alias wrote:
  14.  
  15. > bit slower, but I thought that the speed difference would
  16. > be far less drastic (esp. if the C++ compiler inlines the
  17. > arithmetic operators, as the Complex.h declarations specify).
  18.  
  19. As far as I understand it, GNU only inlines if you have optimisations
  20. turned up quite high.  Like -O4 or something.  Well, that's what I've
  21. found from experience of Gnu C++ Version 2.7
  22.  
  23. John
  24. xxxx
  25.